<template>
	<div class="unit">
		<el-descriptions :column="3" border>
			<el-descriptions-item label="应用名称:">{{ message?.appInfo?.appName }}</el-descriptions-item>
			<el-descriptions-item label="所属领域:">{{ message?.appInfo?.belongField }}</el-descriptions-item>
			<el-descriptions-item label="责任部门:">{{ message?.appInfo?.responsibleDept }}</el-descriptions-item>
			<el-descriptions-item label="市级牵头部门:">{{ message?.appInfo?.countyLeadDept }}</el-descriptions-item>
			<el-descriptions-item label="设计单位:">{{ message?.appInfo?.designUnit }} </el-descriptions-item>
			<el-descriptions-item label="年度预算(万元):">{{ message?.appInfo?.yearBudget }} </el-descriptions-item>
		</el-descriptions>
	</div>
</template>

<script lang="ts" setup>
import { toRefs, defineProps } from 'vue';

const props = defineProps({
	message: {
		type: Object,
		default: () => {
			return {};
		},
	},
});

const { message } = toRefs(props);
</script>

<style lang="scss" scoped>
.unit {
	padding: 20px;
	background-color: #fff;
}
:deep(.el-descriptions__label) {
	width: 15% !important;
}
</style>
